﻿
namespace NoNameGoServer.Client.Commands {
    public class RawCommand : Command {
        private readonly string _command;

        public RawCommand(string command) {
            _command = command;
        }

        public override void Execute(NNGSClient nngsClient) {
            nngsClient.SendAsync(this, _command, null);
            FireCompleted(this, new CompletedArgs());
        }
    }
}
